package com.dgshanger.sanhxiaofeisc.ui.person.purse

import android.content.Intent
import com.dgshanger.sanhxiaofeisc.MainActivity
import com.dgshanger.sanhxiaofeisc.R
import com.dgshanger.sanhxiaofeisc.common.Constants
import com.xx.baseuilibrary.mvp.BaseMvpViewActivity
import kotlinx.android.synthetic.main.activity_transfer_success.*


/**
 * WithdrawSuccessActivity
 * 沉迷学习不能自拔
 * Describe：提现申请成功
 * Created by 雷小星🍀 on 2018/4/18 14:52.
 */
class WithdrawSuccessActivity : BaseMvpViewActivity() {

    override fun getActivityLayoutId(): Int = R.layout.activity_transfer_success

    override fun initData() {
        tv_title.text = "提现申请成功"
        tv_message.text = "提现申请已经提交,到账后将会通知您"
    }

    override fun initEvent() {
        btn_back_home.setOnClickListener {
            //回到首页
            val intent = Intent(mContext, MainActivity::class.java)
            intent.putExtra(Constants.KEY_INTENT_MAIN, MainActivity.INDEX_HOME)
            startActivity(intent)
        }
    }
}